<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>西山居游戏</title>
<meta name="keywords" content="西山居,西山居游戏,西山居概念官网,剑网3,剑侠世界,招聘" /> 
<meta name="Description" content="西山居是国内老牌知名游戏公司，以游戏的方式，创造快乐，传递快乐。" />
<link rel="stylesheet" href="<%=basePath %>/css/common.css" />
<script src="<%=basePath %>/js/jquery.js" ></script>
<script src="<%=basePath %>/js/brush.js" type="text/javascript"></script>
<link href="<%=basePath %>/css/shCore.css" rel="stylesheet" /> 
<link href="<%=basePath %>/css/shThemeDefault.css" rel="stylesheet" /> 
<link rel="stylesheet" href="<%=basePath %>/css/about.css" />
<title>留言</title>
<!-- <style type="text/css">
	.messageTitle{
		width:124px;
		height:40px;
		border:0px solid red;
		background-color: #267FC1;
		margin-left:30px;
		margin-top:20px;
	}
	.messageFont{
		float:left;
		font-size: 18px;
		color: #ffffff;
		margin-top:6px;
		margin-left:15px;
	}
	td{
		font-family:"\5FAE\8F6F\96C5\9ED1";
	}
	input{
		border:1px solid #ABADB3
	}
	.ds-replybox{
		border:1px solid red;
	}
</style>
<script type="text/javascript">
	function submitMessage(){
		if($("#name").val()==''){
			alert("请输入您的姓名");
			return;
		}
		if($("#email").val()==''){
			alert("请输入您的联系邮箱");
			return;
		}else{
			var myreg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
			 if(!myreg.test($("#email").val())){
			 	alert("邮箱格式不正确，请核对");
			 	return;
			 }
		}
		if($("#content").val()==''){
			alert("请输入您的留言");
			return;
		}
		alert("提交成功，感谢您的留言");
		$("#messageForm").submit();
		
	}
</script> -->
</head>
<body>
	
	<div style="width:975px;margin:0 auto;min-height:600px">
		<div class="head" style="">
		<p class="title_top"><a style="float:none" href="/">首页</a></p>
			<div class="nav">
				<ul class="lavaLamp">
					<li class="current-cat"><a href="/index/message">留言</a></li>
				</ul>
			</div>	
		</div>
	
		<div class="cont" style="">
			<!-- <div class='leftDiv' style='border: 1px solid #eeeeee;'>
			<form action="insertMessage" method="post" id='messageForm'>
			<table border=0 width="70%" style='margin-left:60px;margin-top:10px' cellpadding="20px" cellspacing="20px">
				<tr>
					<td><font color="red">*</font>姓名：</td>
					<td><input name='message.name' type='text' id='name'/></td>
					<td><font color="red">*</font>邮箱：</td>
					<td><input name='message.email' type='text' id='email'/></td>
				</tr>
				<tr>
					<td>&nbsp;电话：</td>
					<td><input name='message.phone' type='text'/></td>
					<td>&nbsp;&nbsp;QQ：</td>
					<td><input name='message.code' type='text'/></td>
				</tr>
				<tr>
					<td><font color="red">*</font>留言内容：</td>
					<td colspan="3"><textarea id="content" name='message.content' style='width:415px;height:135px'></textarea> </td>
				</tr>
				<tr>
					<td colspan="4" align="center">
					<input type='button' value='提交' onclick="submitMessage()"/> 
					&nbsp;&nbsp;&nbsp;<input type='reset' value='重填'/> </td>
				</tr>
			</table>
			</form>
		</div>
		</div> -->
	<!-- 多说评论框 start -->
	<div class="ds-thread" data-thread-key="请将此处替换成文章在你的站点中的ID" data-title="请替换成文章的标题" data-url="请替换成文章的网址"></div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"sdy-me"};
	(function() {
		var ds = document.createElement('script');
		ds.type = 'text/javascript';ds.async = true;
		ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
		ds.charset = 'UTF-8';
		(document.getElementsByTagName('head')[0] 
		 || document.getElementsByTagName('body')[0]).appendChild(ds);
	})();
	</script>
<!-- 多说公共JS代码 end -->
	</div>
	

	</div>
    
  	<jsp:include page="footer.jsp" />
</body>
</html>